export const meta = {
  title: "prisma1 export",
  position: 220,
}

## `$ prisma1 export`

Exports your service data to a local zip directory. For more info, read the [Data Import & Export](jsw9) page.

### Usage

```sh
prisma1 export [flags]
```

### Flags

```
-e, --env-file ENV-FILE    Path to .env file to inject env vars
-p, --path PATH            Path to export .zip file
```

### Examples

**Export data to file with default name (`export-<timestamp>.zip`)**

```sh
prisma1 export
```

**Export data to file called `mydata.zip`**

```sh
prisma1 export --path mydata.zip
```
